<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jsp/base/taglibs.jsp"%>
<%@include file="/WEB-INF/jsp/base/head.jsp"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>增加菜单</title>
</head>
<body>
		<div class="edit-wapper">
			<label class="lab" style="color: red;font-weight:bold;margin-bottom: 20px;font-size: large;">增加餐厅菜单</label>
		</div>
      <s:form action="restaurantMenuAction!restaurantMenuAdd.do" namespace="/restaurantMenu" name="form1" method="post">
      	<input type="hidden" name="restaurantMenuBizBean.rid" value="${restaurantMenuBizBean.rid}" />
       <div class="edit-wapper">
	       <label class="lab">菜单名称：</label>
	       <input type="text" name="restaurantMenuBizBean.name" id="name" class="inputText" maxlength="30" style="width: 450px" />
	       <label class="error" >*&nbsp;&nbsp;<s:property value="%{errors['name'][0]}"/></label>
       </div>
       <div class="edit-wapper" >
       		<label class="lab">菜单价格：</label>
       		<input type="text" name="restaurantMenuBizBean.menuPrice" id="menuPrice" class="inputText" maxlength="30"   style="width: 450px" />
       		<label class="error" >*&nbsp;&nbsp;<s:property value="%{errors['menuPrice'][0]}"/></label>
       </div>
       <div class="edit-wapper" >
      		<label class="lab">菜单介绍：</label>
      		<textarea rows="5" name="restaurantMenuBizBean.explanation" id="explanation" class="inputText" style="width: 450px" ></textarea> 
       </div>
       <div class="edit-wapper" >
      		<label class="lab">菜单备注：</label>
      		<textarea rows="5" name="restaurantMenuBizBean.remark" id="remark" class="inputText" style="width: 450px" ></textarea> 
       </div>
        
        <div class="btn-wapper">
       	   <s:submit cssClass="form-btn" value="保存" action="restaurantMenuAction"  method="restaurantMenuAdd" id="btnEnter"/>
       	   <input type="button" class="form-btn" onclick="history.go(-1);" value="返回" />
        </div>
      </s:form>
</body>
</html>